Inheritance diagram for IMFExPart:

Public Member Functions | |
| virtual void MCCOMAPI | ValidateCaches ()=0 |
| virtual void MCCOMAPI | SelfActivate (boolean beActive)=0 |
| virtual void MCCOMAPI | SetShown (boolean inShown)=0 |
| virtual void MCCOMAPI | BaseWindowBecameVisible (boolean inShown)=0 |
| virtual boolean MCCOMAPI | SelfMouseMoved (const TMCPoint &inWhere, const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfMouseEntering (const TMCPoint &inWhere, const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfMouseStillInside (const TMCPoint &inWhere, const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfMouseLeaving (const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropEntering (const TMCPoint &inWhere, const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropStillInside (const TMCPoint &inWhere, const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropLeaving (const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual TMFEventResult MCCOMAPI | SelfMouseDown (const TMCPoint &inWhere, const TMCPlatformEvent &inEvent)=0 |
| virtual boolean MCCOMAPI | SelfContextMouseDown (const TMCPoint &inWhere, const TMCPlatformEvent &inEvent)=0 |
| virtual boolean MCCOMAPI | SelfMiddleMouseDown (const TMCPoint &inWhere, const TMCPlatformEvent &inEvent)=0 |
| virtual void MCCOMAPI | SelfDraw (IMCGraphicContext *inContext, const TMCRect &inUpdateBBox)=0 |
| virtual void MCCOMAPI | SelfPrepareToDestroy ()=0 |
| virtual void MCCOMAPI | FinishRead ()=0 |
| virtual boolean MCCOMAPI | ParentChangedBounds (const TMCRect &oldBounds, const TMCRect &newBounds, boolean inval)=0 |
| virtual void MCCOMAPI | GetDropArea (const TMCPoint &inWhere, IMFDropCandidate &inCandidate, IDType &outAcceptedFlavor, IMFDropArea **outDropArea, boolean &outDrawDropCandidate)=0 |
| virtual boolean MCCOMAPI | GetValue (void *outValue, MFPartValueType inValueType) const =0 |
| virtual boolean MCCOMAPI | SetValue (const void *inValue, MFPartValueType inValueType, boolean inImmediateUpdate, boolean inNotify)=0 |
| virtual boolean MCCOMAPI | ChangedBounds (const TMCRect &oldBounds, const TMCRect &newBounds, boolean inval)=0 |
| virtual TComponentClass *MCCOMAPI | GetCursorID (const TMCPoint &inWhere, MFCursorID &outCursorID) const =0 |
| virtual boolean MCCOMAPI | SelfMouseWheel (const TMCPoint &inWhere, const TMCModifiers &inModifiers, int16 inWheelDelta)=0 |
| virtual boolean MCCOMAPI | ReadAttribute (int32 inKeyword, TMCiostream &inStream)=0 |
| virtual void MCCOMAPI | FinishCreateFromResource ()=0 |
| virtual TMCPlatformWindow *MCCOMAPI | GetPlatformWindow ()=0 |
Note that you only need to implement a few methods to get a valid part (SelfDraw is sometimes enough).
The family ID for a part extension is 'part'. For more information on custom parts, see the Overview of the SDK.
|
|
When the window that contains the part just became visible/invisible. Implemented in TBasicPart. |
|
||||||||||||||||
|
Notifies the EXPart that its bounds have changed. It is notification only. the internal has already adjusted
Implemented in TBasicPart. |
|
|
Override if you need to perform some initialisations that you couldn't do in FinishRead (eg because you need the part's parent). Implemented in TBasicPart. |
|
|
Called just after reading the part from the resource. Implemented in TBasicPart. |
|
||||||||||||
|
Returns the Identifier of the cursor that should be used when the mouse pointer is over the part.
Implemented in TBasicPart. |
|
||||||||||||||||||||||||
|
Returns a pointer to a drop area for this part. Called when the users drops an object on the part.
Implemented in TBasicPart. |
|
|
Returns the plaform window attached to the part if any. Usually you do not need to implement this method. Return NULL if no platform windows is attached to this part in which the platform window of the parent window should be used Implemented in TBasicPart. |
|
||||||||||||
|
Returns the value of the part.
Implemented in TBasicPart. |
|
||||||||||||||||
|
Called each time the bounds of the parent's part were changed.
Implemented in TBasicPart. |
|
||||||||||||
|
Reads an attribute of the part from a stream (file usually).
Implemented in TBasicPart. |
|
|
Called when the part is activated/deactivated.
Implemented in TBasicPart. |
|
||||||||||||
|
Handles a click with the right button of the mouse within the part's bounds
Implemented in TBasicPart. |
|
||||||||||||
|
Called to ask the part to draw itself.
Implemented in TBasicPart. |
|
||||||||||||
|
Handles a click with the middle button of the mouse within the part's bounds
Implemented in TBasicPart. |
|
||||||||||||
|
Handles a click with the left button of the mouse within the part's bounds Note: When the previous implementation returned a boolean result, you should now return TMFEventResult(result, result) in most cases.
Implemented in TBasicPart. |
|
||||||||||||
|
Called when the mouse cursor enters the part.
Implemented in TBasicPart. |
|
|
Called when the mouse has just left the part.
Implemented in TBasicPart. |
|
||||||||||||
|
Called when the mouse has moved over the part.
Implemented in TBasicPart. |
|
||||||||||||
|
Called when the mouse cursor moves inside the part.
Implemented in TBasicPart. |
|
||||||||||||||||
|
Overide this if you want to handle the mouse wheel. Return true if you handled it
Implemented in TBasicPart. |
|
|
Called when the part is about to be destroyed to give it an opportunity to release all counted references and caches. Implemented in TBasicPart. |
|
||||||||||||
|
Function called when the mouse enters the Part during a drag and drop.
Implemented in TBasicPart. |
|
|
Function called when the mouse leaves the Part during a drag and drop.
Implemented in TBasicPart. |
|
||||||||||||
|
Function called when the mouse track within the Part during a drag and drop.
Implemented in TBasicPart. |
|
|
Sets the visibility of the part.
Implemented in TBasicPart. |
|
||||||||||||||||||||
|
Sets the value of the part.
Implemented in TBasicPart. |
|
|
Tells us that we can validate our caches because we're going to need them in the next draw Implemented in TBasicPart. |
1.4.5